package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.RechargeResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/10.
 */

public interface RechargeRequest {
    @FormUrlEncoded
    @POST("recharge")
    Observable<BaseModel<RechargeResponse>> getResult(@Query("token") String token,
                                                     @Field("amount") String amount,
                                                     @Field("bank_card_id") String bank_card_id,
                                                     @Field("type2") String type2,
                                                     @Field("remark") String remark,
                                                      @Field("bankname") String bankname,
                                                      @Field("bank_son") String bank_son,
                                                      @Field("realname") String realname,
                                                      @Field("recharge_time") String recharge_time);
}
